import unittest

from ui.BaseTest import BasePage
from time import sleep


class startActivity(BasePage):

    # 等待自动跳转
    def test_wait(self):
        sleep(5)
        el = self.driver.find_element_by_id('com.addcn.android.design591:id/guilde_jump')
        el.click()


        el =self.driver.find_element_by_id('com.addcn.android.design591')
        activity = self.driver.current_activity
        print(activity)
        sleep(30)




if __name__ == '__main__':
    unittest.main(verbosity=2)
